package com.sinothk.fc.attend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinothk.fc.attend.entity.AttendRecordEntity;
import com.sinothk.fc.attend.entity.StatisticsAttendForEmployeeBean;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 考勤记录表
 * @Author: Liangyt
 * @Date: 2022-09-18
 * @Version: V1.0
 */
public interface AttendRecordMapper extends BaseMapper<AttendRecordEntity> {

    StatisticsAttendForEmployeeBean statisticsMonthForCurrUser(@Param("storeId") String storeId, @Param("userId") String userId);

    StatisticsAttendForEmployeeBean statisticsForEmployee(@Param("storeId") String storeId);
}
